package com.xiongtian.springframework.context.support;

import com.xiongtian.springframework.context.ApplicationEvent;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-14  09:43
 * @Version: 1.0
 * @Description: 应用事件发布器
 */

public interface ApplicationEventPublisher {


    /**
     * Notify all listeners registered with this application of an application
     * event. Events may be framework events (such as RequestHandledEvent)
     * or application-specific events.
     * @param event the event to publish
     */
    void publishEvent(ApplicationEvent event);
}
